namespace PersonalHealth.Data.Model
{
    using System;
    using System.Collections.Generic;
    using Core.Model;
    using Core.Repository;

    public interface IMessageRepository : IRepository<Message>
    {
        int GetNotReadMessageCount(int userid);

        IList<Message> GetUserMessages(int userid, int pageIndex, int pageCount, out int msgCount, out int notReadCount);

        IList<Message> GetUserMessages(int userid, MessageType type, int pageIndex, int pageCount, out int msgCount, out int notReadCount);
    }
}
